P+ - Diddy Kong - Action - 0x26 AttackDash
Entry Script
- Subroutine(0x80fb25b4)
- PreviousInterruptAddRequirement(OnGround)
- RemoveCallEveryFrame { thread_id: 9 }
- CallEveryFrame { thread_id: 9, script: 0x7638 }
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(InAir)
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- UnknownEvent { namespace: 0x8, code: 0x1, unk1: 0x0, arguments: [Value(0)] }
- SetAirGround(18)
- if ((InternalConstantInt(CurrentFrame) GreaterThan scalar(4)))
- IfStatementAnd (ChangeInAirGroundState)
- AllowInterrupts
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(AttackDash)
- else
- ChangeSubactionRestartFrame(AttackDash)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- UnknownEvent { namespace: 0x8, code: 0x1, unk1: 0x0, arguments: [Value(4)] }
- LedgeGrabEnable(Disable)
- SetAirGround(0)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(AttackDashAir)
- else
- ChangeSubactionRestartFrame(AttackDashAir)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script (Common)